<table class="table table-condensed table-bordered table-striped table-hover">
    <thead>
       <th>用户</th>
       <th>时间</th>
       <th>IP地址</th>
       <th>板块</th>
       <th>内容</th>
       <th>管理</th>
    </thead>
    <tbody>
    <% for(var i = 0; i < beans.length; i++) { %>

    <tr>
       <td>
          <%= beans[i].sender%>

       </td>
        <td><%=moment(beans[i].sendTime,"YYYY-MM-DD HH:mm:ss") %></td>
       <td>
           <%= beans[i].category%>
       </td>
       <td><%=beans[i].ipaddr%></td>
       <td><%=beans[i].content%></td>
        <td>

           <%- link_to('删除','/vmessage/remove/'+beans[i]._id)%>

        </td>
    </tr>

    <% } %>
   </tbody>
    <tfoot>
      <tr>

        <td colspan="6">
            <%-pagination%>
        </td>

      </tr>

    </tfoot>
</table>